<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Index extends MY_Controller {
     public function __construct()
     {
        parent::__construct();
        $this->load->vars('title',$this->title);
     }
	public function index()
	{
		$items=$this->category_product_model->getAll(100,0,1);
        $this->load->vars('items',$items);
	}
}

